<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			var number = 10;
			var sum = 0;
			for(i = 0;i  <= number;i ++){
				sum += i;
				
			}
			alert("sum total " + number + " is " + sum);
		</script>
	</head>
	<body>
		
	</body>
</html>
